package com.example.demo.utils.wx;

public class WxKefuJson {

    /**
     * 客服消息发送 url
     */
    public final static String keFuUrl = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN";

    public final static String TUWENJSON = "{" +
            "    \"touser\":\"OPENID\"," +
            "    \"msgtype\":\"news\"," +
            "    \"news\":{" +
            "        \"articles\": [" +
            "         {" +
            "             \"title\":\"TITLE\"," +
            "             \"description\":\"DESCRIBE\"," +
            "             \"url\":\"URL\"," +
            "             \"picurl\":\"PIC\"" +
            "         }" +
            "         ]" +
            "    }" +
            "}";

    public final static String keFuJson = "{" +
            "    \"touser\":\"OPENID\"," +
            "    \"msgtype\":\"text\"," +
            "    \"text\":" +
            "    {" +
            "         \"content\":\"CONTENT\"" +
            "    }" +
            "}";

    public final  static String KEFUIMAGE = "{" +
            "    \"touser\":\"OPENID\"," +
            "    \"msgtype\":\"image\"," +
            "    \"image\":" +
            "    {" +
            "      \"media_id\":\"MEDIA_ID\"" +
            "    }" +
            "}";
}
